/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package LogFile;


/**
 *
 * @author tuanna
 */
public class message {
    private String title, body;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public message() {
    }

    public message(String title, String body) {
        this.title = title;
        this.body = body;
    }
    
    @Override
    public String toString(){
        return title+":"+body;
    }
}
